<h1>Registro Revisor</h1>

<p align="justify">Completar el siguiente formulario:</p>

<form class="cmxform" id="commentForm" method="post" enctype="multipart/form-data" action="index.php?controller=revisor&action=register">
    <fieldset>
        <?php
        if(isset ($_SESSION['msn_operacion'])) {
            echo $_SESSION['msn_operacion'];
            unset ($_SESSION['msn_operacion']);
        }
        ?>
        
        <p>
            <label for="nombre">Name <em>(Required*)</em></label>
            <input id="nombre" name="nombre" size="30"  class="required" value="<?php if(isset ($this->vars['data_revisor'])){echo $this->vars['data_revisor']['nombre'];}?>"/>
        </p>
        <br/>
        <p>
            <label for="apellido">Last Name: <em>(Required*)</em></label>
            <input id="apellido" name="apellido" size="30"  class="required" value="<?php if(isset ($this->vars['data_revisor'])){echo $this->vars['data_revisor']['apellido'];}?>"/>
        </p>
        <br/>
        <p>
            <label for="email1">Email 1: <em>(Required*)</em></label>
            <input id="email1" name="email1" size="30"  class="required email" value="<?php if(isset ($this->vars['data_revisor'])){echo $this->vars['data_revisor']['email1'];}?>"/>
        </p>
        <br/>
        <p>
            <label for="emai2">Email 2: </label>
            <input id="email2" name="email2" size="30"  class="" />
        </p>
        <br/>
        <p>
            <label for="institucion">Institución<em>(Required*)</em></label>
            <textarea id="institucion" name="institucion" rows="3" cols="40" class="required" ><?php if(isset ($this->vars['data_revisor'])){echo $this->vars['data_revisor']['institucion'];}?></textarea>
        </p>
        <br/>
        <p>
            <label for="cargo">Cargo<em>(Required*)</em></label>
            <textarea id="cargo" name="cargo" rows="3" cols="40" class="required" ><?php if(isset ($this->vars['data_revisor'])){echo $this->vars['data_revisor']['cargo'];}?></textarea>
        </p>
        <br/>
        <p>
            <label for="track">Track <em>(Required*)</em></label>
            <?php $this->includeElement('select_track'); ?>
        </p>
        <br/>
        <p>
            <label for="pais">País <em>(Required*)</em></label>
            <?php $this->includeElement('select_pais'); ?>
        </p>
        <br/>
        <p align="center" style="padding-right:60px;">
            <input class="submit" type="submit" value="Agregar"/>
        </p>
    </fieldset>
</form>